home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / prog_disc / volume_3 / issue03 / extras / 1wp / ibmquiet / ibm_quiet3 < prev    next >
Encoding:
Text File  |  1989-08-17  |  11.2 KB  |  280 lines

  1. *
  2. *
  3. *****************************************************************
  4. *                                                               *
  5. *                                                               *
  6. *                                                               *
  7. *             QUIETWRITER III  PRINTER CONFIGURATION            *
  8. *             ======================================            *
  9. *                                                               *
  10. *                                                               *
  11. *    This file contains configuration details for the printer   *
  12. *    described below.  To modify the printer configuration,     *
  13. *    you must:                                                  *
  14. *                                                               *
  15. *    (a)  Read the chapter PRINTER CONFIGURATION in your User   *
  16. *         Manual - THOROUGHLY!                                  *
  17. *                                                               *
  18. *    (b)  Edit this file using 1st Word Plus to make the        *
  19. *         required changes (all values are HEXADECIMAL).        *
  20. *                                                               *
  21. *    (c)  Run the 1PR program to install the new driver.        *
  22. *                                                               *
  23. *    Consult your User Manual for details of how to load your   *
  24. *    custom driver from the 1st Word Plus desktop, and how to   *
  25. *    make it your default printer.                              *
  26. *                                                               *
  27. *    With acknowledgement to GST Holdings Ltd                   *
  28. *                                                               *
  29. *****************************************************************
  30.  
  31.  
  32. *    Printer name
  33. *    ============
  34. *
  35. *    For display above the font table on the
  36. *    1st Word Plus desktop (max 32 characters) 
  37.  
  38.  
  39. IBM QuietWriter III   Courier  
  40.  
  41.  
  42. *    Configuration variables
  43. *    =======================
  44. *
  45. *    These six variables define certain printer
  46. *    configuration details required by 1st Word Plus:
  47. *
  48. *    (1)  1 for microspacing daisywheel, else 0
  49. *    (2)  Character width in printer units (daisy)
  50. *    (3)  Linefeed height in printer units
  51. *    (4)  Mid-carriage (daisy) pixels/inch (matrix)
  52. *    (5)  Bold offset in printer units (daisy)
  53. *    (6)  1 to pause printing between pages, else 0
  54.  
  55.  
  56. 0, 0, 0, 3C, 0, 0
  57.  
  58.  
  59. *    Printer characteristics
  60. *    =======================
  61. *
  62. *    This table defines values to be sent to the
  63. *    printer by 1st Word Plus to control its operation.
  64. *
  65. *    An entry consists of:
  66. *
  67. *    (1)  Function number (these must be kept in order)
  68. *    (2)  Command bytes (hex commands and placeholders)
  69. *
  70. *    A placeholder has the top bit set and is substituted
  71. *    by an actual value by 1st Word Plus when printing.
  72. *
  73. *    Lines preceded by an asterisk are commented out.
  74.  
  75.  
  76. * 0       * Character width
  77. 1, D, A   * Carriage return and line feed
  78. * 2       * Forward print
  79. * 3       * Reverse print
  80. * 4       * Vertical tab to line
  81. * 5       * Absolute horizontal tab 
  82. 6,1B,49,1,1B,47                     * Draft bold on
  83. 7,1B,48                             * Draft bold off
  84. 8,1B,49,2,1B,47                     * NLQ   bold on
  85. 9,1B,48                             * NLQ   bold off
  86. A,1B,49,1,1B,49,23                  * Draft BOLDFACE (italic) on
  87. B,1B,49,0                           * Draft BOLDFACE (italic) off
  88. C,1B,49,2,1B,49,23                  * NLQ   BOLDFACE (italic) on
  89. D,1B,49,0                           * NLQ   BOLDFACE (italic) off
  90. E,1B,49,3                           * Draft ENHANCED (light)  on
  91. F,1B,49,0                           * Draft ENHANCED (light)  off
  92. 10,1B,49,3                          * NLQ   ENHANCED (light)  on
  93. 11,1B,49,0                          * NLQ   ENHANCED (light)  off
  94. 12,1B,1,1B,53,0                     * Draft superscript on
  95. 13,1B,0,1B,54                       * Draft superscript off
  96. 14,1B,2,1B,53,0                     * NLQ   superscript on
  97. 15,1B,0.1B,54                       * NLQ   superscript off
  98. 16,1B,1,1B,53,1                     * Draft subscript   on
  99. 17,1B,0,1B,54                       * Draft subscript   off
  100. 18,1B,2,1B,53,1                     * NLQ   subscript   on
  101. 19,1B,0,1B,54                       * NLQ   subscript   off
  102. 1A,1B,1,1B,2D,1                     * Draft underline   on
  103. 1B,1B,0,1B,2D,0                     * Draft underline   off
  104. 1C,1B,2,1B,2D,1                     * NLQ   underline   on
  105. 1D,1B,0,1B,2D,0                     * NLQ   underline   off
  106. 1E,C                                * Formfeed
  107. 1F,1B,36                            * TABLE 2 initialization
  108. * 20      * Vertical initialization
  109. 21,1B,49,0                          * Termination: printer reset
  110. 22,8                                * Backspace
  111. * 23      * Carriage Return
  112. * 24      * Form length in lines
  113. * 25      * Set line feed to N units
  114. * 26      * Start graphics (mode 0)
  115. * 27      * Reserved
  116. 28,1B,49,1,1B,49,20                    * Draft Courier10  E    (10   cpi)
  117. 29,1B,49,2,1B,49,20                    * NLQ   Courier10  E    (10   cpi)
  118. 2A,1B,49,1,1B,49,21                    * Draft Courier12  E    (12   cpi)
  119. 2B,1B,49,2,1B,49,21                    * NLQ   Courier12  E    (12   cpi)
  120. 2C,1B,49,1,1B,49,22                    * Draft Courier17  E    (17   cpi)
  121. 2D,1B,49,2,1B,49,22                    * NLQ   Courier17  E    (17   cpi)
  122. 2E,1B,49,1,1B,49,21,E                  * Draft Expanded C12    (6    cpi)
  123. 2F,1B,49,2,1B,49,21,E                  * NLQ   Expanded C12    (6    cpi)
  124. * 30      * Black   ink
  125. * 31      * Magenta ink
  126. * 32      * Cyan    ink
  127. * 33      * Yellow  ink
  128. 0         * NULL termination byte
  129.  
  130.  
  131.  
  132. *    Translation Table
  133. *    =================
  134. *
  135. *    This table is used to translate the Archimedes
  136. *    character codes for output to the printer.
  137. *    Each entry consists of:
  138. *
  139. *    (1)  Archimedes character code (these must be in order)
  140. *    (2)  The (possibly null) byte string to be output
  141. *
  142. *    Archimedes character codes with a NULL translation
  143. *    string are printed as spaces.
  144. *
  145. *    Archimedes character codes NOT in the table are sent
  146. *    directly to the printer without translation.
  147.  
  148.  
  149. 7F        *  - N/A
  150. 80, FB                                 * € - Square Root
  151. 81        * Ŵ - N/A
  152. 82        * ŵ - N/A
  153. 83        * ◰ - N/A
  154. 84        * ☓ - N/A
  155. 85        * Ŷ - N/A
  156. 86        * ŷ - N/A
  157. 87, F9                                 *  - Black Blob
  158. 88        * ⇦ - N/A
  159. 89        * ⇨ - N/A
  160. 8A        * ⇩ - N/A
  161. 8B        * ⇧ - N/A
  162. 8C        * … - N/A
  163. 8D        * ™ - N/A
  164. 8E        * ‰ - N/A
  165. 8F        * • - N/A
  166. 90, 04                                  * ‘ - Black Diamond
  167. 91        * ’ - N/A
  168. 92        * ‹ - N/A
  169. 93        * › - N/A
  170. 94        * “ - N/A
  171. 95        * ” - N/A
  172. 96        * „ - N/A
  173. 97        * – - N/A
  174. 98        * — - N/A
  175. 99        * − - N/A
  176. 9A        * Œ - N/A
  177. 9B        * œ - N/A   * Note - to be used for letterhead footnote
  178. 9C        * † - N/A
  179. 9D        * ‡ - N/A
  180. 9E        * fi - N/A
  181. 9F        * fl - N/A
  182. A0        *   - N/A
  183. A1        * ¡ - N/A
  184. A2        * ¢ - N/A
  185. A3, 9C                                 * £ - Symbol
  186. A4        * ¤ - N/A
  187. A5        * ¥ - N/A
  188. A6        * ¦ - N/A
  189. A7, 15                                 * § - Symbol
  190. A8        * ¨ - N/A
  191. A9, FA                                 * © - Black Blob
  192. AA        * ª - N/A   * Note - to be used to call letterhead address
  193. AB, AE                                 * « - Left arrows
  194. AC, AA                                 * ¬ - Right Marker
  195. AD, A9                                 * ­ - Left  Marker
  196. AE        * ® - N/A   * Note - to be used to call letterhead graphics
  197. AF        * ¯ - N/A
  198. B0        * ° - N/A
  199. B1, F1                                 * ± - Plus or Minus
  200. B2, FD                                 * ² - Power of 2
  201. B3        * ³ - N/A
  202. B4        * ´ - N/A
  203. B5        * µ - N/A
  204. B6, F7                                 * ¶ - Approximately
  205. B7, F2                                 * · - Greater than or equal
  206. B8, F3                                 * ¸ - Less than or equal
  207. B9        * ¹ - N/A
  208. BA, F8                                 * º - Small Circle
  209. BB, AF                                 * » - Right Arrows
  210. BC, AC                                 * ¼ - Quarter
  211. BD, AB                                 * ½ - Half
  212. BE        * ¾ - N/A
  213. BF, A8                                 * ¿ - ?
  214. C0, B0                                 *   À IBM Graphics Characters
  215. C1, B1                                 * Á  
  216. C2, B2                                 *   Â  
  217. C3, B3                                 * Ã  
  218. C4, B4                                 *   Ä  
  219. C5, B5                                 * Å  
  220. C6, B6                                 *   Æ  
  221. C7, B7                                 * Ç  
  222. C8, B8                                 *   È  
  223. C9, B9                                 * É  
  224. CA, BA                                 *   Ê  
  225. CB, BB                                 * Ë  
  226. CC, BC                                 *   Ì  
  227. CD, BD                                 * Í  
  228. CE, BE                                 *   Î  
  229. CF, BF                                 * Ï  
  230. D0, C0                                 *   Ð  
  231. D1, C1                                 * Ñ  
  232. D2, C2                                 *   Ò  
  233. D3, C3                                 * Ó  
  234. D4, C4                                 *   Ô  
  235. D5, C5                                 * Õ  
  236. D6, C6                                 *   Ö  
  237. D7, C7                                 * ×  
  238. D8, C8                                 *   Ø  
  239. D9, C9                                 * Ù  
  240. DA, CA                                 *   Ú  
  241. DB, CB                                 * Û  
  242. DC, CC                                 *   Ü  
  243. DD, CD                                 * Ý  
  244. DE, CE                                 *   Þ  
  245. DF, CF                                 * ß  
  246. E0, D0                                 *   à  
  247. E1, D1                                 * á       
  248. E2, D2                                 *   â  
  249. E3, D3                                 * ã  
  250. E4, D4                                 *   ä  
  251. E5, D5                                 * å  
  252. E6, D6                                 *   æ  
  253. E7, D7                                 * ç  
  254. E8, D8                                 *   è  
  255. E9, D9                                 * é  
  256. EA, DA                                 *   ê  
  257. EB, DB                                 * ë  
  258. EC, DC                                 * ì - Bottom Solid Bar
  259. ED, DD                                 * í - Left Solid Bar
  260. EE, DE                                 * î - Right Solid Bar
  261. EF, DF                                 * ï - Top Solid Bar
  262. F0, FE                                 * ð - Square Blob
  263. F1, E0                                 * ñ - Alpha   
  264. F2, E1                                 * ò - Beta   
  265. F3, E2                                 * ó - Gamma   
  266. F4, E3                                 * ô - Pi
  267. F5, E4                                 * õ - Capital Sigma
  268. F6, 99                                 * ö - o with Umlaut
  269. F7, F6                                 * ÷ - Divide
  270. F8, ED                                 * ø - Phi
  271. F9, E9                                 * ù - Theta
  272. FA, EA                                 * ú - Omega
  273. FB, EB                                 * û - Delta
  274. FC, 81                                 * ü - u Umlaut
  275. FD, E5                                 * ý - Small Sigma
  276. FE, E6                                 * þ - Mu - Micro
  277. FF, E7                                 * ÿ - Tau
  278. 0         * NULL terminator
  279.  
  280.